<template>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" route="true" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="search" route="true" to="/home/talk">聊</van-tabbar-item>
      <van-tabbar-item icon="friends-o" route="true" to="/home/dingzhi">定制</van-tabbar-item>
      <van-tabbar-item icon="setting-o" route="true" to="/home/mine">我的</van-tabbar-item>
    </van-tabbar>


</template>

<script>
// import { defineComponent } from '@vue/composition-api'
export default {
  data() {
    return {
       active: 0,
    };
  },
};
</script>

<style lang="less" scoped>

</style>
